<?php /* Smarty version 2.6.19, created on 2008-05-19 14:20:12
         compiled from custom/acl_group_member_edit.tpl */ ?>
<form action="acl_group_member.php?action=save" method="post">
<table width="100%"  border="0" cellspacing="0" cellpadding="0" class="table">

  <tr>
    <td>group_member_id</td>
    <td><input type="text" name="group_member_id" value="<?php echo $this->_tpl_vars['acl_group_member']->get_group_member_id(); ?>
"></td>
  </tr>

  <tr>
    <td>group</td>
    <td>
	<select name="group">
	<option value ="">Please select</option>
	<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['acl_group_list']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
	<?php echo '<option value ="'; ?><?php echo $this->_tpl_vars['acl_group_list'][$this->_sections['i']['index']]->get_group_id(); ?><?php echo '" "'; ?><?php if ($this->_tpl_vars['acl_group_list'][$this->_sections['i']['index']]->get_group_id() == $this->_tpl_vars['acl_group_member']->get_group()): ?><?php echo ' selected '; ?><?php endif; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['acl_group_list'][$this->_sections['i']['index']]->get_description(); ?><?php echo '</option>'; ?>

	<?php endfor; endif; ?>
	</select>
	</td>
  </tr>

  <tr>
    <td>member</td>
    <td>
	<select name="member">
	<option value ="">Please select</option>
	<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['acl_member_list']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
	<?php echo '<option value ="'; ?><?php echo $this->_tpl_vars['acl_member_list'][$this->_sections['i']['index']]->get_member_id(); ?><?php echo '" "'; ?><?php if ($this->_tpl_vars['acl_member_list'][$this->_sections['i']['index']]->get_member_id() == $this->_tpl_vars['acl_group_member']->get_member()): ?><?php echo ' selected '; ?><?php endif; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['acl_member_list'][$this->_sections['i']['index']]->get_name(); ?><?php echo '</option>'; ?>

	<?php endfor; endif; ?>
	</select>
	</td>
  </tr>

  <tr>
    <td></td>
    <td><input type="submit" name="Add" value="Add"></td>
  </tr>
</table>
</form>